import request from "@/common/request"

//可申请应用分页展示
export const approvesAppPage = queryForm => {
	return request("get", "/flowable/approves/pageList", queryForm)
}

//我发起的申请分页展示
export const myTasksPage = queryForm => {
	return request("get", "/flowable/approves/myTasks", queryForm)
}

//待办任务列表分页展示
export const todoTaskPage = queryForm => {
	return request("get", "/flowable/approves/todoTasks", queryForm)
}

//完成审批
export const completeTask = data => {
	return request("post", "/flowable/approves/completeTask", data)
}

//已完成任务分页展示
export const finishTasks = queryForm => {
	return request("get", "/flowable/approves/finishTasks", queryForm)
}

//审批人自选抄送人
export const csOptional = queryForm => {
	return request("get", "/flowable/approves/csOptional", queryForm)
}

//抄送我的
export const csToMe = queryForm => {
	return request("get", "/flowable/approves/csToMe", queryForm)
}
